REPOSITORY Paragraph
The REPOSITORY Paragraph contains class references.
General format
REPOSITORY.
 
  [ {CLASS    } Class-Name-1 AS Literal-1 ] ...
    {INTERFACE}
Syntax rules
1. Class-Name-1 is a User-defined word, as defined in the Definitions section in the Preface of this document.
2. Literal-1 is a Literal, as defined in the Definitions section in the Preface of this document.
General Rules
1. Class-name-1 is the name of a class that may be used throughout the scope of the containing environment division.
2. Literal-1 is the externalized name by which the class is known to the operating environment. The following syntax is allowed at the end of the name:
[]
Specifies an array.
Example:
class StringArr as "java.lang.String[]"
...
Specifies a varargs when the class is referenced in the USING clause of the Procedure Division. Elsewhere it is treated as [].
Example:
class Strings as as "java.lang.String..."
<type>
Specifies a Java generic.
Type must be the fully qualified name of a class.
Example:
class StringArrayList as "java.util.ArrayList<java.lang.String>"
<>
Diamond operator.
Example:
class HashMap as "java.util.HashMap<>"